package com.woniuxy.util.exception.accountException;

import com.woniuxy.util.exception.GlobalException;
import com.woniuxy.util.exception.code.AccountExceptionCode;
import com.woniuxy.util.exception.code.RuleExceptionCode;

public class RuleException extends GlobalException {
    public RuleException(String message, Integer code) {
        super(message, code);
    }
    public RuleException(RuleExceptionCode code){
        super(code.msg,code.code);
    }
}
